const koaRouter = require("koa-router");

const projectDetail = new koaRouter({ prefix: "/projectDetail" });

const { createProject, getProject, getProjectByPage, deleteProject, editProject, getProjectByDate } = require("../controller/projectDetailController");
const { VerifyCreatePeopleInput } = require('../middleware/people.middleware')
projectDetail.post("/createProject", createProject);
projectDetail.get("/getProject", getProject);
projectDetail.get("/getProjectByPage", getProjectByPage);
projectDetail.post("/deleteProject", deleteProject);
projectDetail.post("/editProject", editProject);
// 通过年月日查询
projectDetail.get("/getProjectByDate", getProjectByDate);
module.exports = projectDetail;